package cn.hnc.checkapi.bean.node;

public class NodeResponse {
   private String message;
   private int status;
   private DataInfo data;

   public String getMessage() {
      return this.message;
   }

   public int getStatus() {
      return this.status;
   }

   public DataInfo getData() {
      return this.data;
   }

   public void setMessage(final String message) {
      this.message = message;
   }

   public void setStatus(final int status) {
      this.status = status;
   }

   public void setData(final DataInfo data) {
      this.data = data;
   }

   public boolean equals(final Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof NodeResponse)) {
         return false;
      } else {
         NodeResponse other = (NodeResponse)o;
         if (!other.canEqual(this)) {
            return false;
         } else {
            label39: {
               Object this$message = this.getMessage();
               Object other$message = other.getMessage();
               if (this$message == null) {
                  if (other$message == null) {
                     break label39;
                  }
               } else if (this$message.equals(other$message)) {
                  break label39;
               }

               return false;
            }

            if (this.getStatus() != other.getStatus()) {
               return false;
            } else {
               Object this$data = this.getData();
               Object other$data = other.getData();
               if (this$data == null) {
                  if (other$data != null) {
                     return false;
                  }
               } else if (!this$data.equals(other$data)) {
                  return false;
               }

               return true;
            }
         }
      }
   }

   protected boolean canEqual(final Object other) {
      return other instanceof NodeResponse;
   }

   public int hashCode() {
      boolean PRIME = true;
      int result = 1;
      Object $message = this.getMessage();
      result = result * 59 + ($message == null ? 43 : $message.hashCode());
      result = result * 59 + this.getStatus();
      Object $data = this.getData();
      result = result * 59 + ($data == null ? 43 : $data.hashCode());
      return result;
   }

   public String toString() {
      return "NodeResponse(message=" + this.getMessage() + ", status=" + this.getStatus() + ", data=" + this.getData() + ")";
   }
}
